import request from '@/utils/request';

// 获取患者列表
export const getCustomerList = (data) => {
  return request.post('/customers/getCustomerList', data);
}
//患者信息录入
export const saveCustomer = (data) => {
  return request.post('/customers/saveCustomer', data);
}
// 获取患者信息
export const getCustomer = (data) => {
  return request.get('/customers/getCustomer?name=' + data.name + '&id_card=' + data.id_card);
}


